package cn.tedu.entity;

import java.util.Date;

/**
 * 新闻
 * @author JokerQ
 *
 */
public class News {
	
	private Integer id;
	
	/*
	 * 标题
	 */
	private String title;
	/*
	 * 作者
	 */
	private String author;
	/*
	 * 内容
	 */
	private String content;
	/*
	 * 发布时间
	 */
	private Date pubTime;
	/*
	 * 图片地址
	 */
	private String imgURL;
	/*
	 * 新闻类别
	 */
	private Integer newsId;
	/*
	 * 阅读量
	 */
	private int amountOfReading;
	/*
	 * 转载次数
	 */
	private int amountOfShare;
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getPubTime() {
		return pubTime;
	}
	public void setPubTime(Date pubTime) {
		this.pubTime = pubTime;
	}
	public String getImgURL() {
		return imgURL;
	}
	public void setImgURL(String imgURL) {
		this.imgURL = imgURL;
	}

	public Integer getNewsId() {
		return newsId;
	}
	public void setNewsId(Integer newsId) {
		this.newsId = newsId;
	}
	public int getAmountOfReading() {
		return amountOfReading;
	}
	public void setAmountOfReading(int amountOfReading) {
		this.amountOfReading = amountOfReading;
	}
	public int getAmountOfShare() {
		return amountOfShare;
	}
	public void setAmountOfShare(int amountOfShare) {
		this.amountOfShare = amountOfShare;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	@Override
	public String toString() {
		return "News [id=" + id + ", title=" + title + ", author=" + author
				+ ", content=" + content + ", pubTime=" + pubTime + ", imgURL="
				+ imgURL + ", newsId=" + newsId + ", amountOfReading="
				+ amountOfReading + ", amountOfShare=" + amountOfShare + "]";
	}
	
	
	
	
}
